class CreateCompanies < ActiveRecord::Migration[6.1]
  def change
    create_table :companies do |t|
      t.string :name
      t.string :logo
      t.datetime :deleted_at
      t.integer :admin_user_id

      t.timestamps
    end
    add_index :companies, :admin_user_id
  end
end
